/**
 * 
 */
package stc.skymobi.ebus;

import java.util.concurrent.Executor;

import stc.skymobi.util.ClosureEx;


/**
 * @author isdom
 *
 */
public interface EventBus {
    
	public Runnable registerObserver(Executor exec, String event, ClosureEx closure);
	
	public Runnable registerObserver(Executor exec, String event, Object target, String methodName);
    
    public void fireEvent(String event, Object ...args);
}
